Skip to content

Recover snapshots when Codex login state says synced#20

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/fix-missing-codex-auth-saved-snapshot-re-2026-05-04-13-29
May 4, 2026
Merged

Recover snapshots when Codex login state says synced#20
NagyVikt merged 1 commit into
mainfrom
agent/codex/fix-missing-codex-auth-saved-snapshot-re-2026-05-04-13-29

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

@NagyVikt NagyVikt commented May 4, 2026

Automated by gx branch finish (PR flow).

Codex login can leave the current auth fingerprint marked as already synchronized even after the matching saved snapshot file is removed or pruned. The sync fast path now verifies the session snapshot still exists before skipping, and use resolves exact email requests to the saved duplicate snapshot when the canonical filename is absent.

Constraint: Operators use official codex login as the primary auth source

Rejected: Only improving the not-found message | leaves the refresh-required loop and missing snapshot unrepaired

Confidence: high

Scope-risk: narrow

Directive: Do not skip external auth sync solely from fingerprint unless the mapped snapshot file still exists

Tested: npm test -- --runInBand

Tested: npm pack --dry-run

Not-tested: live codex login against real OpenAI account

Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>

Co-authored-by: OmX <omx@oh-my-codex.dev>
@NagyVikt NagyVikt merged commit 5e1a007 into main May 4, 2026
@NagyVikt NagyVikt deleted the agent/codex/fix-missing-codex-auth-saved-snapshot-re-2026-05-04-13-29 branch May 4, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant